﻿using System;
using System.ComponentModel.DataAnnotations;

namespace BCDto.OA.Attendance.AttendanceRemedyApply
{
    /// <summary>
    /// 考勤补卡信息
    /// </summary>
    public class AttendanceRemedyApplyRequestDto
    {
        /// <summary>
        /// 补卡时间(年月日)
        /// </summary>		
        [Display(Name = "补卡时间(年月日)")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public DateTime RemedyDate { get; set; }
        /// <summary>
        /// 补卡班次
        /// </summary>		
        [Display(Name = "补卡班次")]
        public long SelectedClassId { get; set; }
        /// <summary>
        /// 补卡时间点
        /// </summary>		
        [Display(Name = "补卡时间点")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string RemedyTime { get; set; }

        /// <summary>
        /// 补卡原因
        /// </summary>		
        [Display(Name = "补卡原因")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string RemedyReason { get; set; }

        /// <summary>
        /// 补卡说明文件
        /// </summary>
        [Display(Name = "补卡说明文件")]
        public string[] Files { get; set; }
    }
}
